package com.qs.javame.hashmap;

import java.util.HashMap;
import java.util.Map;

public class TestHashMap {

    public static void main(String[] args) {

        HashMap<String, String> hashMap = new HashMap<>();
        hashMap.put("0", "张三");

        //48
        System.out.println("0".hashCode());

        //"110000"
        System.out.println(Integer.toBinaryString("0".hashCode()));


        int hashedValue = "0".hashCode() ^ ("0".hashCode() >>> 16);
        System.out.println(hashedValue);
    }
}
